Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include type predicate information for functions #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trevordixon
Copy link

And compare them for assignability. (Notice the commented out function test case.)

Hope this looks OK! I'm new to this.

@trevordixon
Copy link
Author

Oh, I just noticed it no longer builds (even though tests pass). getTypePredicateOfSignature wasn't exposed until TypeScript 4.4. Bumping TypeScript introduces new errors which I fixed, until I ran into an error in @wessberg/rollup-plugin-ts. Bumping that version doesn't resolve the error, so I'm a little stuck. Advice welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant